[sublayer array] insertSublayer:above: atomic if superLayer stays the same?

Posted by mahal tertin on Stack Overflow See other posts from Stack Overflow or by mahal tertin
Published on 2010-05-03T17:32:48Z Indexed on 2010/05/03 17:38 UTC
Read the original article Hit count: 225

Filed under:
|

Setting:
* two threads
* one moves layers inside sublayer-array with insertSublayer:above:
* the other accesses superlayer of the moved layer at the very same time

Question:
* is superlayer of the moved layer nil in any moment of insertSublayer:above: or below:?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about core-animation